{extend name="base" /}

{block name="title"}排单币{/block}

{block name="main"}
<div class="main">
	<div class="wdtx_header">
		<div class="container">
			<div class="qbgl_box clearfix">
				<div class="qbye">
					<div class="img_box">
						<img src="/images/qb.png"/>
					</div>
					<span>剩余排单币：<span class="color_ceng">{$user_platoon.price}</span></span>
				</div>
				<div class="btn_gruop">
					<a href="/user/platoon/topUp">充值</a>
					<a href="/user/platoon/transfer">转账</a>
				</div>
			</div>

			<div class="qb_info">
				<ul class="breadcrumb">
				  <li><a href="/user_info">绑定云付通</a></li>
				  <li><a href="/user_info/change_password">修改密码</a></li>
				  <li><a href="/user_info">修改个人信息</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div class="container">
		<div class="qd_box">
			<div class="table_modal">
					
				<div class="tab_title">
					<p>排单币记录</p>
				</div>
				
				<div class="qd_table_box">
					<div class="table-responsive">
					  	<table class="table text-center table-bordered">
					    	<tr>
					    		<th>编号</th>
					    		<th>排单币</th>
					    		<th>新余额</th>
					    		<th>旧余额</th>
					    		<th>用户</th>
					    		<th>创建时间</th>
					    		<th>状态</th>
					    		<th>是否审核</th>
					    	</tr>
					    	{volist name='userPlatoonLogs' id='userPlatoonLog'}
							<tr>
					    		<td>{$userPlatoonLog.user_platoon_log_id}</td>
					    		<td>
					    			{switch name="userPlatoonLog.active" }
										{case value="0"}-{/case}
										{case value="1"}+{/case}
									{/switch}
									{$userPlatoonLog.price}
					    		</td>
					    		<td>{$userPlatoonLog.to_user_name_new_price}</td>
					    		<td>{$userPlatoonLog.to_user_name_old_price}</td>
					    		<td>{$userPlatoonLog.from_user_name}</td>
					    		<td>{$userPlatoonLog.create_time}</td>
					    		<td>{$userPlatoonLog.type}</td>
					    		<td>{$userPlatoonLog.is_state}</td>
					    	</tr>
							{/volist}
					  	</table>
					</div>
					<nav>{$userPlatoonLogs -> render()}</nav>
				</div>
			</div>
		</div>	
	</div>

</div>
{/block}